home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
frm.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
7KB
|
199 lines
FFFFRRRRMMMM((((1111LLLL)))) UUUUSSSSEEEENNNNEEEETTTT CCCCoooommmmmmmmuuuunnnniiiittttyyyy TTTTrrrruuuusssstttt ((((EEEEllllmmmm VVVVeeeerrrrssssiiiioooonnnn 2222....4444)))) FFFFRRRRMMMM((((1111LLLL))))
NNNNAAAAMMMMEEEE
frm,nfrm - list from and subject of selected messages in
mailbox or folder
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ffffrrrrmmmm [----hhhhnnnnQQQQqqqqSSSSttttvvvv] [----ssss _s_t_a_t_u_s] [folder | username] ...
nnnnffffrrrrmmmm [----hhhhnnnnQQQQqqqqSSSSttttvvvv] [----ssss _s_t_a_t_u_s] [folder | username] ...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_F_r_m outputs one line per message of the form:
_f_r_o_m [_s_u_b_j_e_c_t]
where _f_r_o_m is the name of the person the message is from,
and _s_u_b_j_e_c_t is the subject of the message, if present. If
the message is from you, the _f_r_o_m portion will read ``To
user'', where `user' is the user the message was sent to.
This happens when you receive a copy of a letter you sent.
If a folder is specified, the program reads that folder
rather than the default mailbox. If the argument is a
username then _f_r_m looks in that user's mailbox, provided you
have permission to read it.
A folder can be specified with the same notation as when
invoking the EEEEllllmmmm mailer (e.g., =folder).
_F_r_m invoked as _n_f_r_m is identical to invoking ``frm -s new''.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
The _f_r_m program has the following options:
----hhhh Print a brief help message summarizing the options.
----nnnn Number the messages using the same numbering scheme
that, for example, _r_e_a_d_m_s_g will understand.
----QQQQ Very quiet mode. Only error messages are produced.
This option is useful in shell scripts, where only the
success or failure of the program is important, and
output is not desired.
----qqqq Quiet mode. Output only a one-line summary for each
mailbox or folder specified.
----SSSS Summarize the number of messages by message status in
each mailbox or folder. If you want just a summary
line, use this in conjunction with the ----qqqq option.
----ssss _s_t_a_t_u_s
Only display headers from messages with the given
status. `status' is one of "new", "unread", "old"
Page 1 (printed 7/15/95)
FFFFRRRRMMMM((((1111LLLL)))) UUUUSSSSEEEENNNNEEEETTTT CCCCoooommmmmmmmuuuunnnniiiittttyyyy TTTTrrrruuuusssstttt ((((EEEEllllmmmm VVVVeeeerrrrssssiiiioooonnnn 2222....4444)))) FFFFRRRRMMMM((((1111LLLL))))
(same as "unread"), or "read". The ----ssss option can be
specified multiple times to print header information
from, for example, only new and unread messages. It is
sufficient to specify only the first letter of the
status.
----tttt Tidy mode. If the _f_r_o_m field is long enough to displace
the subject field from its natural start column, move
the subject down onto the next line.
----vvvv Verbose mode. Print a descriptive header before
listing the contents of each mailbox or folder.
EEEEXXXXIIIITTTT SSSSTTTTAAAATTTTUUUUSSSS
_F_r_m returns a zero status ("true") if messages matching
`status' are present. _F_r_m returns 1 if no messages matching
`status' are present, but there are some messages, returns 2
if there are no messages at all, or returns 3 if an error
occurred. If multiple mailboxes or folders are specified,
the exit status only applies to the last one examined. This
can be used in scripts to determine what kind of mail a user
has.
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
Some example uses:
$ ffffrrrrmmmm
will display header information from all the messages in
your mailbox, or ``You have no mail.'' if there are no
messages in your incoming mailbox.
$ ffffrrrrmmmm ----ssss nnnneeeewwww
will display header information from all new messages in
your mailbox, or ``You have no new mail.'' Note the
slightly different diagnostic.
$ ffffrrrrmmmm ----ssss nnnneeeewwww ----ssss uuuunnnnrrrreeeeaaaadddd gggguuuueeeesssstttt
assuming you have the proper file permissions to read
guest's mail, will print out header information from all new
and unread messages in guest's incoming mailbox. If there
are no messages, _f_r_m will print ``guest has no mail.''
$ ffffrrrrmmmm ----qqqq ----SSSS
will print only a one line summary of how many read, unread,
and read messages are in your incoming mailbox. For
example, ``You have 2 new messages, 3 unread messages, 23
read messages.''
Page 2 (printed 7/15/95)
FFFFRRRRMMMM((((1111LLLL)))) UUUUSSSSEEEENNNNEEEETTTT CCCCoooommmmmmmmuuuunnnniiiittttyyyy TTTTrrrruuuusssstttt ((((EEEEllllmmmm VVVVeeeerrrrssssiiiioooonnnn 2222....4444)))) FFFFRRRRMMMM((((1111LLLL))))
AAAAUUUUTTTTHHHHOOOORRRR
Elm Development Group
SSSSEEEEEEEE AAAALLLLSSSSOOOO
readmsg(1L), elm(1L), mail(1), mailx(1)
BBBBUUUUGGGG RRRREEEEPPPPOOOORRRRTTTTSSSS TTTTOOOO
Syd Weinstein elm@DSI.COM (dsinc!elm)
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTTSSSS
Copyright 1988-1992 by The USENET Community Trust
Derived from Elm 2.0, Copyright 1986, 1987 by Dave Taylor
Page 3 (printed 7/15/95)